package com.kaili.basic.pojo.dto;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(description = "移库操作")
public class BaseReportLossAddDTO {
  @ApiModelProperty("订单号")
  private String orderNo;

  @ApiModelProperty("仓库id")
  private Long storeId;

  @ApiModelProperty("报损类型")
  private Long reportLossType;

  @ApiModelProperty("货主id")
  private Long supplierId;

  @ApiModelProperty("创建人")
  private Long createBy;

  @ApiModelProperty("创建时间")
  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  private Date createTime;

  @ApiModelProperty("报损明细")
  List<BaseReportLossAddDetailDTO> detailList;
}
